/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package ecom.client;

import ecom.beans.entity.Accounts;
import ecom.beans.entity.Address;
import ecom.beans.entity.Category;
import ecom.beans.entity.Clients;
import ecom.beans.entity.Produits;
import ecom.beans.entity.Productstore;
import java.util.List;
import javax.ejb.Remote;

/**
 *
 * @author Amina
 */
@Remote
public interface EcomDataRemote {

    List<Productstore> getAllProductStore();

    List<Produits> getAllProduct();

    List<Produits> getProductsOfStore(Long idStore);

    List<Productstore> getStoresOfProductCategory(Long idCategory);

    List<Produits> getAllProductDiscount();

    List<Produits> getProductDiscountOfStore(Long idStore);

    List<Category> getAllProductCategory();

    Category getCategoryById(Long id);

    String getAllProductCategoryToString();

    List<Clients> getAllClients();

    Clients getClientById(Long id);

    Address getClientsAddress(Long idClients);

    Address getProductStoreAddress(Long idStore);
}
